package yi1019;

import java.util.Random;
import java.util.Scanner;

/**
 * @author tmh
 * @date 2024/10/19 19:15
 * @description
 */
public class T2 {
    public static void main(String[] args) {
        Random random = new Random();
        Scanner scanner= new Scanner(System.in);
        String[] result = new String[2];
        result[0]="Yes";
        result[1]="No";
        while (true){
            int count = scanner.nextInt();
            String[] array= new String[count];
            for (int i=0;i<array.length;i++){
                array[i]=scanner.next();
            }
            for (int i =0;i<array.length;i++){
                System.out.println(result[random.nextInt(2)]);
            }
        }
    }
}
